using System.ServiceModel;
using System.Collections.Generic;

namespace WCFDicing.ServiceContracts
{
    /// <summary>
    /// prosba o zlozenie zakladu przez gracza
    /// </summary>
    [MessageContract]
    public class BetRequest
    {
        /// <summary>
        /// stawka zakladu
        /// </summary>
        private System.Int32 betField;

        /// <summary>
        /// get i set stawka zakladu
        /// </summary>
        [MessageBodyMember( Order = 0 )]
        public System.Int32 bet
        {
            get { return betField; }
            set { betField = value; }
        }

        /// <summary>
        /// id gracza obstawiajacego
        /// </summary>
        private System.Int32 IDField;

        /// <summary>
        /// get i set id gracza obstawiajacego
        /// </summary>
        [MessageBodyMember( Order = 1 )]
        public System.Int32 ID
        {
            get { return IDField; }
            set { IDField = value; }
        }

        /// <summary>
        /// id gry
        /// </summary>
        private System.Int32 GameIDField;

        /// <summary>
        /// get i set id gry
        /// </summary>
        [MessageBodyMember( Order = 2 )]
        public System.Int32 GameID
        {
            get { return GameIDField; }
            set { GameIDField = value; }
        }
    }
}


